-
Home
-
Parse.ly
-
3.19.2
-
Code
-
Classes
- Endpoint_Posts
| Total Complexity |
38 |
| Dependencies |
6 |
| Dependents |
1 |
| Total lines |
456 |
| Lines of code |
256 |
| Logical lines of code |
75 |
| Comment lines |
106 |
| Methods |
9 |
| Properties |
1 |
Methods 9
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| get_posts() |
A |
41 |
15 |
54 |
| fetch_campaign_data() |
A |
42 |
11 |
54 |
| register_routes() |
S |
35 |
1 |
115 |
| validate_urls() |
S |
66 |
3 |
8 |
| validate_max_length_is_5() |
S |
65 |
3 |
9 |
| sanitize_string_to_array() |
S |
71 |
2 |
6 |
| __construct() |
S |
76 |
1 |
4 |
| get_endpoint_name() |
S |
81 |
1 |
3 |
| sanitize_urls() |
S |
79 |
1 |
3 |